<?php

namespace App\Trip\Train\Seat;

class SeatName
{
    /**
     * 座位名称翻译
     * @param string $name
     * @param string $language
     * @return string
     */
    static function trans(string $name, string $language = ''): string
    {
        return __("seat_name.{$name}", [], $language);
    }
}